<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>欢迎登录</title>
    <div th:replace="/common/include_easyui.html"></div>
    <link rel="stylesheet" href="../base/easyui1.4/themes/icon.css" type="text/css">
    <script>
        $(document).ready(function () {
            alert(userInfo.loginName);
        });
    </script>
</head>
<body>
<h1>主界面</h1>
</body>

<script type="text/javascript" th:inline="javascript">
    var userInfo = [[${userInfo}]];
</script>
</html>